<%-- 
    Document   : index
    Created on : 22-avr.-2008, 18:54:26
    Author     : loo
--%>
<%@ page import="IUSECASE.*" %>
<%@ page import="IBO.*" %>
<%@ page import="java.rmi.*" %>
<%@ page import = "java.util.*" %>




<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
   <jsp:useBean id="cl" scope="page" type="IBO.IClientParticulier" class=""/>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h2>Hello World!</h2>
        <br>
        <h2>
            <%
                IUC_Factory factory = null;
                factory = (IUC_Factory) Naming.lookup("rmi://lau-1:1099/factory");
                Vector <IClientParticulier> cl1=factory.getGestionClients().listerClientsParticulier();
                //request.getSession().setAttribute("col",cl1);            
                //cl1.get(0).getNom();
   //             response.getOutputStream().println(cl1==null);
               
             Iterator it = cl1.iterator(); 
while (it.hasNext())
    {  
   IClientParticulier Cl2=(IClientParticulier)it.next();
   cl = Cl2;
    %>
  
  <jsp:getProperty name="cl" property="nom" />   

    

    
   <!-- <input type="text" id="nom" value="<%= Cl2.getNom()%>"><br>        -->
            
<%  }  %>
        </h2>
        
    </body>
</html>

